package com.tddx.activiti.utils.gentiJava;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class ConnDb {
	
	public static Connection getConn(){
		Connection con = null;
		try {
			con = DriverManager.getConnection(Constants.URL, Constants.NAME, Constants.PASS);
		} catch (SQLException e) {
			e.printStackTrace();
		}
		return con;
	}
}
